package com.ihrm.employee.mapper;

import com.ihrm.domain.employee.EmployeeResignation;
import com.ihrm.domain.employee.EmployeeResignationExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface EmployeeResignationMapper {
    int countByExample(EmployeeResignationExample example);

    int deleteByExample(EmployeeResignationExample example);

    int deleteByPrimaryKey(String userId);

    int insert(EmployeeResignation record);

    int insertSelective(EmployeeResignation record);

    List<EmployeeResignation> selectByExample(EmployeeResignationExample example);

    EmployeeResignation selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") EmployeeResignation record, @Param("example") EmployeeResignationExample example);

    int updateByExample(@Param("record") EmployeeResignation record, @Param("example") EmployeeResignationExample example);

    int updateByPrimaryKeySelective(EmployeeResignation record);

    int updateByPrimaryKey(EmployeeResignation record);
}